#include <iostream>
#include <map>
#include <vector>

using namespace std;

int minNumberDisappeared(vector<int>& nums)
{
    map<int, int> m;
    int ans = 0;
    for (int i = 0; i < nums.size(); i++)
    {
        m[nums[i]]++;
    }
    int k = 1;
    while (m[k] != 0)
    {
        k++;
    }
    ans = k;
    return ans;
}
int main()
{
	
	return 0;
}